{% load i18n %}
{% if list %}
    {% for favorite in list %}
        <li><span>{{ favorite.date }}</span>
            <a href="/case/{{ favorite.case.id }}"
               target="_blank">
                【
                {% ifequal LANGUAGE_CODE 'zh-cn' %}
                    {{ favorite.case.industry.name_cn }}
                {% else %}
                    {{ favorite.case.industry.name }}
                {% endifequal %}】
                {{ favorite.case.name }}</a>
        </li>
    {% endfor %}
{% else %}
    {% trans 'No data' %}
{% endif %}